package com.ecloud.common.vcode.model;

import java.awt.image.BufferedImage;
import java.io.InputStream;

/**
 * 图片对象
 *
 * @author LiuGangQiang Create in 2021/05/27
 */
public class ImageRead {
    /**
     * 图片
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private BufferedImage image;
    /**
     * 文件扩展名
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private String suffix;
    /**
     * 输入流
     *
     * @author LiuGangQiang Create in 2021/05/27
     */
    private InputStream InputStream;

    /**
     * @return the image
     */
    public BufferedImage getImage() {
        return image;
    }

    /**
     * @param image the image to set
     */
    public void setImage(BufferedImage image) {
        this.image = image;
    }

    /**
     * @return the suffix
     */
    public String getSuffix() {
        return suffix;
    }

    /**
     * @param suffix the suffix to set
     */
    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    /**
     * @return the inputStream
     */
    public InputStream getInputStream() {
        return InputStream;
    }

    /**
     * @param inputStream the inputStream to set
     */
    public void setInputStream(InputStream inputStream) {
        InputStream = inputStream;
    }

}